package com.qianli.user.domain.enums;

/**
 * name:各模型各分项信息状态  新增、更新、删除
 * auth:ting.li@qianli-inc.com
 * date:2018/1/3 10:03
 * version: v1.0.0
 **/
public enum  UserModelItemStatusEnum {
    DEFAULT(0,"默认，不操作"),
    ADD(1,"新增"),
    UPDATE(2,"更新"),
    UPDATE_AND_HISTORIZATION(3,"更新并且移入历史");
    private Integer type;

    private String desc;

    UserModelItemStatusEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public UserModelItemStatusEnum setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public UserModelItemStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
